/**
 ******************************************************************************
 * @file    file.c
 * @author  百问科技
 * @version V1.0
 * @date    2021-11-03
 * @brief	文件浏览
 ******************************************************************************
 * Change Logs:
 * Date           Author          Notes
 * 2021-11-03     zhouyuebiao     First version
 ******************************************************************************
 * @attention
 *
 * Copyright (C) 2008-2021 深圳百问网科技有限公司<https://www.100ask.net/>
 * All rights reserved
 *
 ******************************************************************************
 */


/*********************
 *      INCLUDES
 *********************/
//#include "../../lv_100ask_demo.h"

#if 1 //LV_USE_100ASK_DEMO_ABOUT

#include <stdio.h>
#include <string.h>
#include "file.h"
#include "file_manager.h"
#include "../../lvgl/lvgl.h"
#include "../assistive_touch/assistive_touch.h"

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/


/**********************
 *  STATIC VARIABLES
 **********************/
static lv_obj_t * screenFileManager;
static lv_obj_t * screenMain;
/**********************
 *  STATIC PROTOTYPES
 **********************/




void file(lv_obj_t * screen){
    LV_LOG_USER("enter");
    screenMain = screen;

    //创建文件浏览屏幕
    screenFileManager = lv_obj_create(NULL);
    lv_scr_load(screenFileManager);

    file_manager_init();
    // 悬浮球控制初始化
    assistive_touch_init(screen, screenFileManager);
}

#endif /* LV_USE_100ASK_DEMO_MUSIC_PLAYER */
